package mapper;



import com.javabean.Permission;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface PermissionMapper {
    @Select("select pid,url,`desc` adesc from permission ")
    List<Permission> selectAllPermission();
    @Insert("insert into permission(pid,url,`desc`) values (6,'das''sdfwf')")
    List<Permission> insertPermission();
}
